package com.xxxt.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.xxxt.entity.School;

public interface SchoolMapper {
	
	boolean insertSchool(School school);
	
	void batchAddSchoolByExcel(List<Map<String, Object>> importExcel);
	
	boolean batchAddSchool(List<School> school);
		
	List<School> selcetAllSchool();
	
	List<School> selcetAllSchoolByPage();
	
	boolean deleteSchool(String schoolId);
	
	School selcetOneSchool(String schoolId);
	
	boolean updateSchool(@Param("schoolName") String schoolName,@Param("id") String id);

	List<School> selcetOneSchoolByName(String schoolName);
}
